package cn.historia.domain.task.repository;


import cn.historia.domain.task.model.entity.TaskEntity;

import java.util.List;

/**
 * @package: cn.historia.domain.task.repository
 * @className: ITaskRepository
 * @author: 云溪
 * @description: 任务服务仓储接口
 * @date: 2025/9/30 15:57
 * @version: 1.0
 */
public interface ITaskRepository {

    List<TaskEntity> queryNoSendMessageTaskList();

    void sendMessage(TaskEntity taskEntity);

    void updateTaskSendMessageCompleted(String userId, String messageId);

    void updateTaskSendMessageFail(String userId, String messageId);

}
